package com.tz.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Created by Administrator on 2017/1/6.
 */
@Configuration
@EnableAspectJAutoProxy   //启动AOP
@ComponentScan({"com.tz.hello","com.tz.advice"})
public class AppConfig {

}
